Spread Windows Forms 7.0 Product Documentation
SetArray(Int32,Int32,Object[,],Boolean) Method
See Also  Support Options
FarPoint.Win.Spread Assembly > FarPoint.Win.Spread.Model Namespace > DefaultSheetDataModel Class > SetArray Method : SetArray(Int32,Int32,Object[,],Boolean) Method


row
Row index of the start of the range of cells
column
Column index of the start of the range of cells
value
Two-dimensional object array[row,column] that contains the values
formula
If true, set formulas; otherwise, set values.

Glossary Item Box

Sets an object array into a specified range of cells.

Syntax

Visual Basic (Declaration) 
Public Overloads Sub SetArray( _
   ByVal row As Integer, _
   ByVal column As Integer, _
   ByVal value(,) As Object, _
   ByVal formula As Boolean _
) 
Visual Basic (Usage)Copy Code
Dim instance As DefaultSheetDataModel
Dim row As Integer
Dim column As Integer
Dim value() As Object
Dim formula As Boolean
 
instance.SetArray(row, column, value, formula)
C# 
public void SetArray( 
   int row,
   int column,
   object[,] value,
   bool formula
)

Parameters

row
Row index of the start of the range of cells
column
Column index of the start of the range of cells
value
Two-dimensional object array[row,column] that contains the values
formula
If true, set formulas; otherwise, set values.

Requirements

Target Platforms: Windows 2000 Professional (SP4), Windows 2000 Server, Windows 2003 Server (SP1), Windows 2008, Windows XP (SP2), Windows Vista, Windows 7, Windows 8

See Also

© 2002-2014 ComponentOne, a division of GrapeCity. All Rights Reserved.